package com.kefu.robot.model;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoyu
 * @date 2023/11/03
 */
@Data
@TableName(value="robot_aidata_doc_type")
@ApiModel(description = "AI模型词条分类表")
public class RobotAidataDocType implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@TableId(value="doc_type_id",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String docTypeId;
    
    @TableField(value="name")
    @ApiModelProperty(value = "分类名称")
    private String name;
    
    @TableField(value="aidata_id")
    @ApiModelProperty(value = "AI模型id")
    private String aidataId;
    
    @TableField(value="weight")
    @ApiModelProperty(value = "排序")
    private Integer weight;
    
    @TableField(value="parent_id")
    @ApiModelProperty(value = "上级Id")
    private String parentId;
    
    @TableField(value="create_user")
    @ApiModelProperty(value = "创建人")
    private String createUser;

    @TableField(exist = false)
    @ApiModelProperty(value = "创建人姓名")
    private String createUserName;
    
    @TableField(value="create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;
    
    @TableField(value="update_user")
    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @TableField(exist = false)
    @ApiModelProperty(value = "更新人姓名")
    private String updateUserName;
    
    @TableField(value="update_time")
    @ApiModelProperty(value = "更新时间")
    private Long updateTime;
    
    @TableField(value="tenant_id")
    @ApiModelProperty(value = "租户id")
    private String tenantId;
    

}